package com.qykj.ddhing.pda.demo.dagger2.test1;

import javax.inject.Inject;

/**
 * @author liuxiaofeng QQ:363204195
 * @name ddhing_pda
 * @class name：com.qykj.ddhing.pda.demo.dagger2.test1
 * @class describe
 * @time 2018/7/18 22:46
 * @change
 * @chang time
 * @class describe
 */
public class User {
    private String name;
    // 这个@Inject表示可以提供User类型的实例
    @Inject
    public User() {
        this.name = "this is test 无参数构造";
    }
    public String getName() {
        return name;
    }
}
